package com.letfox.finance.service.ad.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.finance.dao.ad.ADOutcomeServingDetailDao;
import com.letfox.finance.model.ad.ADOutcomeServingDetail;
import com.letfox.finance.service.ad.ADOutcomeServingDetaiService;

@Service
public class ADOutcomeServingDetaiServiceImpl implements ADOutcomeServingDetaiService {
	
	@Autowired
	private ADOutcomeServingDetailDao adOutcomeServingDetailDao;
	
	@Override
	public int deleteByPrimaryKey(Long id) {
		return adOutcomeServingDetailDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ADOutcomeServingDetail record) {
		return adOutcomeServingDetailDao.insert(record);
	}

	@Override
	public ADOutcomeServingDetail selectByPrimaryKey(Long id) {
		return adOutcomeServingDetailDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(ADOutcomeServingDetail record) {
		return adOutcomeServingDetailDao.updateByPrimaryKeySelective(record);
	}

}
